﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Easydp.Models.Entities
{
   public class TT_News
    {
        private int newsID;
        public int NewsID
        {
            get
            {
                return newsID;
            }
            set
            {
                if (this.newsID != value)
                    this.newsID = value;
            }
        }

        private string title;
        public string Title
        {
            get
            {
                return title;
            }
            set
            {
                if (this.title != value)
                    this.title = value;
            }
        }

        private bool txtpic;
        public bool Txtpic
        {
            get
            {
                return txtpic;
            }
            set
            {
                if (this.txtpic != value)
                    this.txtpic = value;
            }
        }

        private string showImgUrl;
        public string ShowImgUrl
        {
            get
            {
                return showImgUrl;
            }
            set
            {
                if (this.showImgUrl != value)
                    this.showImgUrl = value;
            }
        }

        private int areaID;
        public int AreaID
        {
            get
            {
                return areaID;
            }
            set
            {
                if (this.areaID != value)
                    this.areaID = value;
            }
        }

        private int areaText;
        public int AreaText
        {
            get
            {
                return areaText;
            }
            set
            {
                if (this.areaText != value)
                    this.areaText = value;
            }
        }


        private int category;
        public int CategoryID
        {
            get
            {
                return category;
            }
            set
            {
                if (this.category != value)
                    this.category = value;
            }
        }

        private string author;
        public string Author
        {
            get
            {
                return author;
            }
            set
            {
                if (this.author != value)
                    this.author = value;
            }
        }

        private string source;
        public string Source
        {
            get
            {
                return source;
            }
            set
            {
                if (this.source != value)
                    this.source = value;
            }
        }

        private string contentInfo;
        public string ContentInfo
        {
            get
            {
                return contentInfo;
            }
            set
            {
                if (this.contentInfo != value)
                    this.contentInfo = value;
            }
        }

        private int hits;
        public int Hits
        {
            get
            {
                return hits;
            }
            set
            {
                if (this.hits != value)
                    this.hits = value;
            }
        }

        private DateTime newsDate;
        public DateTime NewsDate
        {
            get
            {
                return newsDate;
            }
            set
            {
                if (this.newsDate != value)
                    this.newsDate = value;
            }
        }

        private DateTime createOn;
        public DateTime CreateOn
        {
            get
            {
                return createOn;
            }
            set
            {
                if (this.createOn != value)
                    this.createOn = value;
            }
        }


    }
}
